import {get, post} from '@/utils/fetch'

export const getAudioScore = async ({
  fileLink,
  text
}) => {
  let rs = await post({
    path: `/v1/audioScore`,
    data: {
      fileLink,
      text,
      type: 'read_aloud'
    }
  })
  return rs
}
